<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"> 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@include file="jxInclude.jsp"%>
<%@include file="jsInclude.jsp"%>
<%@include file="cssInclude.jsp"%>
<script type="text/javascript" src="<%=request.getContextPath()%>/FCKeditor/fckeditor.js"></script>

<script type="text/javascript" src="<%=request.getContextPath()%>/FCKeditor/fckeditor_ex.js"></script>

<title>编辑文章</title>
<style>
	.line_edit{
		width:800px;
	}
	.l_title{
		float:left;
		width:200px;
		text-align:left;
		padding-left:4px
	}
	.r_content{
		float:right;
		width:600px;
		text-align:left;
		padding-left:10px
	}
	.inputCls{
		BORDER-RIGHT: #e0e0e0 1px solid; BORDER-TOP: #e0e0e0 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #e0e0e0 1px solid; LINE-HEIGHT: 22px; BORDER-BOTTOM: #e0e0e0 1px solid; HEIGHT: 22px
	}
</style>
</head>
<body>
<s:form action="/manager/articleAct.do">
<div>
    当前位置: >> 衣 >> 分类 >>添加文章
</div>
<div>
	* 为必填项
</div>
<div style="display:none">
	<s:hidden name="clsCode" id="clsCode" ></s:hidden>
	<s:hidden name="id" id="id"></s:hidden>
	<s:hidden name="call" id="call"></s:hidden>
</div>
<div class=line_edit>
	<div class='l_title'>
		* 标题
	</div>
	<div class='r_content'>
		<s:textfield name="title" id="title" ></s:textfield>
	</div>
</div>
<div class=line_edit>
	<div class='l_title'>
		* 显示标题
	</div>
	<div class='r_content'>
		<s:textfield name="subtitle" id="subtitle" ></s:textfield>
	</div>
</div>
<div class=line_edit>
	<div class='l_title'>
		* 关键词(多个关键词以,为分隔符)
	</div>
	<div class='r_content'>
		<s:textfield name="keywords" id="keywords" ></s:textfield>
	</div>
</div>
<div class=line_edit>
	<div class='l_title'>
		摘要
	</div>
	<div class='r_content'>
		<s:textfield name="summary" id="summary" ></s:textfield>
	</div>
</div>
<div class=line_edit>
	<div class='l_title'>
		正文
	</div>
	<div class='r_content'>
		<s:textarea name="content" id="content" ></s:textarea>
		 <script type="text/javascript">
				var oFCKeditor = new FCKeditor('advContent') ;
				oFCKeditor.BasePath = "<%=request.getContextPath()%>/FCKeditor/" ;
				oFCKeditor.Config['ToolbarStartExpanded'] = true ;
				oFCKeditor.Height = 300;
				oFCKeditor.width = 700;
				oFCKeditor.ToolbarSet = "DefaultFCK" ;
				oFCKeditor.ReplaceTextarea();
		</script>
	</div>
</div>

<div class=line_edit>
	<div class='l_title'>
		文章来源
	</div>
	<div class='r_content'>
		<s:textfield name="artResource" id="artResource" ></s:textfield>
	</div>
</div>
<div class=line_edit>
	<div class='l_title'>
		首页轮换图片
	</div>
	<div class='r_content'>
		<s:textfield name="homeImg" id="homeImg" ></s:textfield>
	</div>
</div>
<div class=line_edit>
	<div class='l_title'>
		检索图片
	</div>
	<div class='r_content'>
		<s:textfield name="indexImg" id="indexImg" ></s:textfield>
	</div>
</div>

<div class=line_edit>
	<div class='l_title'>
		文章属性 
	</div>
	<div class='r_content'>
		<s:checkbox name="commend">推荐</s:checkbox>
		<s:checkbox name="top">置顶</s:checkbox>
		<s:checkbox name="isHeader">头条</s:checkbox>
		<s:checkbox name="hot">热门</s:checkbox>
		<s:textfield name="clicks" id="clicks" >点击数</s:textfield>
	</div>
</div>
</s:form>
</body>
</html>